/**
 * 
 */
package cn.netjava.softkid.chapter04;

/**
 * @author Administrator
 *
 */
public class SuperClass {
	String name=null;
	/**
	 * 
	 */
	public SuperClass() {
		System.out.println(this.name);
	}
	
	public SuperClass(String name)
	{
		this.name=name;
		System.out.println(this.name);
	}
	
	public void output()
	{
		System.out.println("super:"+name);
	}
	
	public void output(String name)
	{
		System.out.println("super:"+name);
	}
	
	public void output(String name,int age)
	{
		System.out.println("super:"+name+"  "+age);
	}
}
